home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gFragment1, gFragment2, gFragment3, gFragment4, gFragmentCast
- set gWhereFrom to the frameLabel
- set the volume of sound 1 to 255
- set WhichFragment to the clickOn
- set FragmentNumber to the number of cast "Fragment 1"
- if WhichFragment = 21 then
- if gFragment1 = 0 then
- set gFragment1 to 1
- set the volume of sound 1 to 255
- puppetSound("ZAP.AIF")
- end if
- end if
- if WhichFragment = 20 then
- if gFragment2 = 0 then
- set gFragment2 to 1
- set the volume of sound 1 to 255
- puppetSound("ZAP.AIF")
- end if
- end if
- if WhichFragment = 19 then
- if gFragment3 = 0 then
- set gFragment3 to 1
- set the volume of sound 1 to 255
- puppetSound("ZAP.AIF")
- end if
- end if
- if WhichFragment = 18 then
- if gFragment4 = 0 then
- set gFragment4 to 1
- set the volume of sound 1 to 255
- puppetSound("ZAP.AIF")
- end if
- end if
- end
-